<script>
	import categoryMixin from './mixin/category.js'
	export default {
		mixins: [categoryMixin],
		onLaunch: async function() {
			this.loadmenuCategory() // 加载菜单分类
			this.loadProductCategory() // 加载产品分类
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import 'uview-ui/index.scss';
	page{
		background-color: $page-background-color;
	}
</style>
